/**
 * @(#)SimulatorTaskDaoImpl.java 2017年02月24日
 * Copyright(C) 2017 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.dao.impl;

import java.util.List;

import org.jsbd.boss.domian.channel.SimulatorTaskResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import edu.hziee.common.queue.IBatchExecutor;

/**
 * 
 * 模拟器任务Dao
 * @author <a href="mailto:zhouchao@xingbook.com" >周超</a>
 * @version 1.0.0
 */
@Repository("simulatorTaskResultDao")
public class SimulatorTaskResultDaoImpl extends CrackLogBaseDao implements IBatchExecutor<SimulatorTaskResult> {
	public static final Logger LOGGER = LoggerFactory.getLogger(SimulatorTaskResultDaoImpl.class);

	public void save(List<SimulatorTaskResult> taskList) {
		super.batchInsert("qy_channel_simulator_task_log.insert_qy_channel_simulator_task_result_log", taskList);
	}

	@Override
	public void execute(List<SimulatorTaskResult> records) {
		super.batchUpdate("qy_channel_simulator_task_log.update_qy_channel_simulator_task_result_log", records);
	}

	
}
